<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>-</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/tadmin.css">
  <script type="text/javascript" src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/layui/layui.js" charset="utf-8"></script>
   <script type="text/javascript" src="./js/tadmin.js"></script>  
  </head>
  
  <body>
    <div class="tngou-body">
     
     <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
  <ul class="layui-tab-title">
    <li class="layui-this">全部</li>
    <li>系统<span class="layui-badge">6</span></li>
    <li>业务</li>
    <li>私信<span class="layui-badge">99</span></li>
  </ul>
  <div class="layui-tab-content">
  
   <table class="layui-hide" id="role-table"></table>
		<script>
		layui.use('table', function(){
		  var table = layui.table;
		  
		  table.render({
		    elem: '#role-table'
		    ,height: 'full-180'
		    ,url:'json/msg.json'
		    ,page: { //支持传入 laypage 组件的所有参数（某些参数除外，如：jump/elem） - 详见文档
		      layout: ['limit', 'count', 'prev', 'page', 'next', 'skip'] //自定义分页布局
		      //,curr: 5 //设定初始在第 5 页
		      ,groups: 1 //只显示 1 个连续页码
		      ,first: false //不显示首页
		      ,last: false //不显示尾页
		      
		    }
		    ,cols: [[
		      {type:'checkbox'}
		      ,{field:'id', width:80, title: 'ID', sort: true}
		      ,{field:'time', width:200, title: '时间'}
		      ,{field:'type', width:80, title: '类型', sort: true}
		      ,{field:'content', title: '内容', minWidth: 150}
		      ,{field:'wealth', width:135,  toolbar: '#barDemo'}
		    ]]
		    
		  });
		});
		</script>
		 <script type="text/html" id="barDemo">
  		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
  		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
  
  </div>
</div>      
     
    </div>
    <script>
      
    </script>
  </body>

</html>